package algos;

import java.util.Iterator;

/**
 *
 * @author nicolas
 */
public class Problem<T> {
	protected ContextStack<T> contextStack;
	
	public Problem(T _firstContextLayer, GameController<T> gc) {
		Iterator<Action<T>> ai = gc.getActions(_firstContextLayer).iterator();
		contextStack = new ContextStack<T>(_firstContextLayer, ai);
		
	}
	
	public ContextStack<T> getContextStack() {
		return contextStack;
	}
	
}
